﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sundstrom.Mvvm.Validation
{
    [AttributeUsage(AttributeTargets.Method)]
    public sealed class ValidationMethodAttribute : Attribute
    {
        public ValidationMethodAttribute(string propertyName)
        {
            PropertyName = propertyName;
        }

        public string PropertyName { get; private set; }
    }

    [AttributeUsage(AttributeTargets.Method)]
    public sealed class NotValidationMethodAttribute : Attribute
    {
        public NotValidationMethodAttribute()
        {
        }
    }
}
